package 代码记录.校招笔试真题.笔试真题_2022.海能达;
import java.util.*;
public class Test1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int[] str = new int[26];
        for(int i = 0;i < line.length();i++){
            if(line.charAt(i) >= 'A' && line.charAt(i) <= 'Z'){
                str[line.charAt(i) - 'A']++;
            }
        }
        for(int i = 0;i < str.length;i++){
            char c = (char) (i + 'A');
            System.out.println(c + ":" + str[i]);
        }
    }
}
